package com.jet.auth.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author dcl
 * @since 2025/6/30 9:29
 */
@ApiModel
@Data
public class LoginCaptchaDto {

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号不能为空")
    private String phone;

    /**
     * 短信验证码
     */
    @ApiModelProperty(value = "短信码", required = true)
    @NotBlank(message = "短信码不能为空")
    private String smsCaptcha;

    /**
     * 平台类型
     */
    @ApiModelProperty(value = "平台类型", required = true)
    @NotNull(message = "短信码不能为空")
    private int platform;
}
